import React from "react";
import { Select, Space } from "antd";

function Index() {
  const theme = localStorage.getItem("theme") || "light";

  const handleChange = (value: string) => {
  const  htmiNode=document.documentElement
//  htmiNode.
  };

  return (
    <div>
      <Select
        defaultValue="dark"
        style={{ width: 120 }}
        onChange={handleChange}
        options={[
          { value: "dark", label: "dark" },
          { value: "yellow", label: "yellow" },
          { value: "pink", label: "pink" },
        ]}
      />
    </div>
  );
}

export default Index;
